package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * table --> su_order_detail
 * remarks --> 供应商订单子表
 * columns --> pkgNo,batchNo,orderNo,boxNo,weight,length,breadth,height,createTime,updateTime
 */
@ApiModel(value = "su_order_detail",description = "供应商订单子表")
public class SuOrderDetail implements Serializable {
    /**
     * pkgNo
     * 子订单号
     */
    @ApiModelProperty(value="pkgNo",name="子订单号")
    private String pkgNo;

    /**
     * batchNo
     * 主订单号
     */
    @ApiModelProperty(value="batchNo",name="主订单号")
    private String batchNo;

    /**
     * orderNo
     * 订单号
     */
    @ApiModelProperty(value="orderNo",name="订单号")
    private String orderNo;

    /**
     * boxNo
     * 	FBA箱号
     */
    @ApiModelProperty(value="boxNo",name="	FBA箱号")
    private String boxNo;

    /**
     * weight
     * 重量
     */
    @ApiModelProperty(value="weight",name="重量")
    private BigDecimal weight;

    /**
     * length
     * 长
     */
    @ApiModelProperty(value="length",name="长")
    private BigDecimal length;

    /**
     * breadth
     * 宽
     */
    @ApiModelProperty(value="breadth",name="宽")
    private BigDecimal breadth;

    /**
     * height
     * 高
     */
    @ApiModelProperty(value="height",name="高")
    private BigDecimal height;

    /**
     * createTime
     * 下单时间
     */
    @ApiModelProperty(value="createTime",name="下单时间")
    private Date createTime;

    /**
     * updateTime
     * 更新时间
     */
    @ApiModelProperty(value="updateTime",name="更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public String getPkgNo() {
        return pkgNo;
    }

    public void setPkgNo(String pkgNo) {
        this.pkgNo = pkgNo == null ? null : pkgNo.trim();
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo == null ? null : batchNo.trim();
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public String getBoxNo() {
        return boxNo;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo == null ? null : boxNo.trim();
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getLength() {
        return length;
    }

    public void setLength(BigDecimal length) {
        this.length = length;
    }

    public BigDecimal getBreadth() {
        return breadth;
    }

    public void setBreadth(BigDecimal breadth) {
        this.breadth = breadth;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", pkgNo=").append(pkgNo);
        sb.append(", batchNo=").append(batchNo);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", boxNo=").append(boxNo);
        sb.append(", weight=").append(weight);
        sb.append(", length=").append(length);
        sb.append(", breadth=").append(breadth);
        sb.append(", height=").append(height);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}